//
//  DDMenuView.h
//  Dingdong
//
//  Created by 程强 on 16/11/30.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DDMenuView;

@protocol DDMenuViewDelegate <NSObject>
- (void)menu:(DDMenuView *)menu didSelectMenuIndex:(NSInteger)index;
@end

@interface DDMenuView : UIView
@property (strong, nonatomic) NSArray *menus;
@property (assign, nonatomic) id <DDMenuViewDelegate> delegate;
@end


@interface DDMenuViewItem : UIButton
@property (strong, nonatomic) UIColor *bgColor;
@property (strong, nonatomic) NSString *icon;
@property (strong, nonatomic) NSString *itemName;
@end
